package ooday03;

public class AnonInnerClassDemo {
    public static void main(String[] args) {
       Inter o1=new Inter(){};
       Inter o2=new Inter(){};
       Inter o3=new Inter(){};
       Case1 o4=new Case1(){
           public void sum1(){
               System.out.println("sum1");
           }
       };


    }
    interface Inter{

    }
    interface Case1{
        void sum1();
    }
}
